package com.hanhan.chargingpile.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author HanHan
 * @since 2023-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AppUserInfo对象", description="用户信息表")
public class AppUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long appUserId;

    @ApiModelProperty(value = "用户真实姓名")
    private String username;

    @ApiModelProperty(value = "性别 0:男 ，1女")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String idCardNo;

    @ApiModelProperty(value = "身份证正面照")
    private String idCardFrontImg;

    @ApiModelProperty(value = "身份证背面照")
    private String idCardBackImg;

    @ApiModelProperty(value = "身份证有效期开始时间")
    private LocalDateTime idCardStartTime;

    @ApiModelProperty(value = "身份证有效期结束时间")
    private LocalDateTime idCardEndTime;

    @ApiModelProperty(value = "银行卡号")
    private String bankCardNo;

    @ApiModelProperty(value = "银联号")
    private String bankCardUnionNo;

    @ApiModelProperty(value = "银行卡类型")
    private String bankCardType;

    @ApiModelProperty(value = "银行卡类型编码")
    private String bankCardTypeCode;

    @ApiModelProperty(value = "开户行")
    private String bankCardOpenBank;

    @ApiModelProperty(value = "银行卡图片")
    private String bankCardImg;

    @ApiModelProperty(value = "银行卡过期时间")
    private LocalDateTime bankCardExpiredTime;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "县")
    private String county;

    @ApiModelProperty(value = "详细地点")
    private String address;

    @ApiModelProperty(value = "自拍照")
    private String selfieImg;

    @ApiModelProperty(value = "1:删除，0:未删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
